class Product(object):
    """
    产品
    """
    def __init__(self, product_id, section_num, route_id):
        self.product_id = product_id.strip()    # id
        self.section_num = int(section_num.strip())  # 加工节数
        self.route_id = route_id.strip()        # 工艺路线id

    def output(self):
        print("product id: ", self.product_id, end=' ')
        print("section_num: ", self.section_num, end=' ')
        print("route id: ", self.route_id)


